package com.ruoyi.zhjd.laboratory.modules.laboratoryMechanicsWGroup.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.zhjd.laboratory.modules.laboratoryMechanicsWGroup.entity.MechanicsWGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 万能机数据_主表
 *
 * @author sx
 * @email
 * @date 2023-07-14 10:04:23
 */
public interface MechanicsWGroupService extends IService<MechanicsWGroupEntity> {

    /**
     * 列表
     */
    IPage queryPage(Map<String, Object> params);

    /**
     * 信息
     * @return MechanicsWGroupEntity
     */
    MechanicsWGroupEntity getInfo(Integer id);

    /**
     * 保存
     */
    void saveData(MechanicsWGroupEntity mechanicsWGroup);

    /**
     * 修改
     */
    void updateData(MechanicsWGroupEntity mechanicsWGroup);

    /**
      * 删除单条数据
      * @param id
     */
    void deleteOneData(Integer id);

    /**
     * 删除
     */
    void deleteData(List<Integer> ids);
}

